from pydub import AudioSegment

# 安装ffmpeg
# pip install ffmpeg-python

def mp3_to_wav(mp3_path, wav_path):
    audio = AudioSegment.from_mp3(mp3_path)
    audio.export(wav_path, format="wav")


if __name__ == "__main__":
    mp3_to_wav('/Users/lanyanhua/Downloads/758A4FF6DFED7F89A331B0EE43A67D38.mp3', '/Users/lanyanhua/Downloads/758A4FF6DFED7F89A331B0EE43A67D38.mp3.wav')